/**
 * 
 */
package com.techq.weibo.share.exception;

/**
 * @author tassemble@gmail.com
 * 2011-8-2
 */
public class ShareException extends Exception {

	String message = "";
	int errorCode;
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public ShareException(String msg, Exception e) {
		super(e);
		this.message = msg;
	}
	
	
	public ShareException(int errorCode, Exception e) {
		super(e);
		this.errorCode = errorCode;
	}
	
	
	
	
	public ShareException(String string) {
		this.message = string;
	}


	@Override
	public String getMessage() {
		// TODO Auto-generated method stub
		return message + super.getMessage();
	}

	
}
